3.2144 \(\int (a+b \sqrt {x})^5 x \, dx\)

Optimal. Leaf size=80 \[ -\frac {a^3 \left (a+b \sqrt {x}\right )^6}{3 b^4}+\frac {6 a^2 \left (a+b \sqrt {x}\right )^7}{7 b^4}+\frac {2 \left (a+b \sqrt {x}\right )^9}{9 b^4}-\frac {3 a \left (a+b \sqrt {x}\right )^8}{4 b^4} \]

[Out]

-1/3*a^3*(a+b*x^(1/2))^6/b^4+6/7*a^2*(a+b*x^(1/2))^7/b^4-3/4*a*(a+b*x^(1/2))^8/b^4+2/9*(a+b*x^(1/2))^9/b^4

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {266, 43} \[ \frac {6 a^2 \left (a+b \sqrt {x}\right )^7}{7 b^4}-\frac {a^3 \left (a+b \sqrt {x}\right )^6}{3 b^4}+\frac {2 \left (a+b \sqrt {x}\right )^9}{9 b^4}-\frac {3 a \left (a+b \sqrt {x}\right )^8}{4 b^4} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Sqrt[x])^5*x,x]

[Out]

-(a^3*(a + b*Sqrt[x])^6)/(3*b^4) + (6*a^2*(a + b*Sqrt[x])^7)/(7*b^4) - (3*a*(a + b*Sqrt[x])^8)/(4*b^4) + (2*(a
 + b*Sqrt[x])^9)/(9*b^4)

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \left (a+b \sqrt {x}\right )^5 x \, dx &=2 \operatorname {Subst}\left (\int x^3 (a+b x)^5 \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (-\frac {a^3 (a+b x)^5}{b^3}+\frac {3 a^2 (a+b x)^6}{b^3}-\frac {3 a (a+b x)^7}{b^3}+\frac {(a+b x)^8}{b^3}\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {a^3 \left (a+b \sqrt {x}\right )^6}{3 b^4}+\frac {6 a^2 \left (a+b \sqrt {x}\right )^7}{7 b^4}-\frac {3 a \left (a+b \sqrt {x}\right )^8}{4 b^4}+\frac {2 \left (a+b \sqrt {x}\right )^9}{9 b^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 73, normalized size = 0.91 \[ \frac {a^5 x^2}{2}+2 a^4 b x^{5/2}+\frac {10}{3} a^3 b^2 x^3+\frac {20}{7} a^2 b^3 x^{7/2}+\frac {5}{4} a b^4 x^4+\frac {2}{9} b^5 x^{9/2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Sqrt[x])^5*x,x]

[Out]

(a^5*x^2)/2 + 2*a^4*b*x^(5/2) + (10*a^3*b^2*x^3)/3 + (20*a^2*b^3*x^(7/2))/7 + (5*a*b^4*x^4)/4 + (2*b^5*x^(9/2)
)/9

________________________________________________________________________________________

fricas [A]  time = 1.26, size = 63, normalized size = 0.79 \[ \frac {5}{4} \, a b^{4} x^{4} + \frac {10}{3} \, a^{3} b^{2} x^{3} + \frac {1}{2} \, a^{5} x^{2} + \frac {2}{63} \, {\left (7 \, b^{5} x^{4} + 90 \, a^{2} b^{3} x^{3} + 63 \, a^{4} b x^{2}\right )} \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^5,x, algorithm="fricas")

[Out]

5/4*a*b^4*x^4 + 10/3*a^3*b^2*x^3 + 1/2*a^5*x^2 + 2/63*(7*b^5*x^4 + 90*a^2*b^3*x^3 + 63*a^4*b*x^2)*sqrt(x)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 57, normalized size = 0.71 \[ \frac {2}{9} \, b^{5} x^{\frac {9}{2}} + \frac {5}{4} \, a b^{4} x^{4} + \frac {20}{7} \, a^{2} b^{3} x^{\frac {7}{2}} + \frac {10}{3} \, a^{3} b^{2} x^{3} + 2 \, a^{4} b x^{\frac {5}{2}} + \frac {1}{2} \, a^{5} x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^5,x, algorithm="giac")

[Out]

2/9*b^5*x^(9/2) + 5/4*a*b^4*x^4 + 20/7*a^2*b^3*x^(7/2) + 10/3*a^3*b^2*x^3 + 2*a^4*b*x^(5/2) + 1/2*a^5*x^2

________________________________________________________________________________________

maple [A]  time = 0.00, size = 58, normalized size = 0.72 \[ \frac {2 b^{5} x^{\frac {9}{2}}}{9}+\frac {5 a \,b^{4} x^{4}}{4}+\frac {20 a^{2} b^{3} x^{\frac {7}{2}}}{7}+\frac {10 a^{3} b^{2} x^{3}}{3}+2 a^{4} b \,x^{\frac {5}{2}}+\frac {a^{5} x^{2}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a+b*x^(1/2))^5,x)

[Out]

2/9*x^(9/2)*b^5+5/4*a*b^4*x^4+20/7*x^(7/2)*a^2*b^3+10/3*a^3*b^2*x^3+2*x^(5/2)*a^4*b+1/2*a^5*x^2

________________________________________________________________________________________

maxima [A]  time = 0.84, size = 64, normalized size = 0.80 \[ \frac {2 \, {\left (b \sqrt {x} + a\right )}^{9}}{9 \, b^{4}} - \frac {3 \, {\left (b \sqrt {x} + a\right )}^{8} a}{4 \, b^{4}} + \frac {6 \, {\left (b \sqrt {x} + a\right )}^{7} a^{2}}{7 \, b^{4}} - \frac {{\left (b \sqrt {x} + a\right )}^{6} a^{3}}{3 \, b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^5,x, algorithm="maxima")

[Out]

2/9*(b*sqrt(x) + a)^9/b^4 - 3/4*(b*sqrt(x) + a)^8*a/b^4 + 6/7*(b*sqrt(x) + a)^7*a^2/b^4 - 1/3*(b*sqrt(x) + a)^
6*a^3/b^4

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 57, normalized size = 0.71 \[ \frac {a^5\,x^2}{2}+\frac {2\,b^5\,x^{9/2}}{9}+\frac {5\,a\,b^4\,x^4}{4}+2\,a^4\,b\,x^{5/2}+\frac {10\,a^3\,b^2\,x^3}{3}+\frac {20\,a^2\,b^3\,x^{7/2}}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a + b*x^(1/2))^5,x)

[Out]

(a^5*x^2)/2 + (2*b^5*x^(9/2))/9 + (5*a*b^4*x^4)/4 + 2*a^4*b*x^(5/2) + (10*a^3*b^2*x^3)/3 + (20*a^2*b^3*x^(7/2)
)/7

________________________________________________________________________________________

sympy [A]  time = 2.34, size = 71, normalized size = 0.89 \[ \frac {a^{5} x^{2}}{2} + 2 a^{4} b x^{\frac {5}{2}} + \frac {10 a^{3} b^{2} x^{3}}{3} + \frac {20 a^{2} b^{3} x^{\frac {7}{2}}}{7} + \frac {5 a b^{4} x^{4}}{4} + \frac {2 b^{5} x^{\frac {9}{2}}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x**(1/2))**5,x)

[Out]

a**5*x**2/2 + 2*a**4*b*x**(5/2) + 10*a**3*b**2*x**3/3 + 20*a**2*b**3*x**(7/2)/7 + 5*a*b**4*x**4/4 + 2*b**5*x**
(9/2)/9

________________________________________________________________________________________